package com.example.demo;

import com.example.demo.servlet.MyServlet1;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.embedded.ServletRegistrationBean;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Bean;

/**
 * Created by lisen on 2017/6/30.
 */
@SpringBootApplication
@ServletComponentScan
public class ServletDemoApplication  {
    public static void main(String[] args) {
        SpringApplication.run(ServletDemoApplication.class);
    }

}
